package cn.gemiman.daoyi.module.cms.controller.admin.appsitealbumphoto.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 相册照片新增/修改 Request VO")
@Data
public class AppSiteAlbumPhotoSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1056")
    private Long id;

    @Schema(description = "站点编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11133")
    @NotNull(message = "站点编号不能为空")
    private Long appSiteId;

    @Schema(description = "站点标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "22942")
    @NotEmpty(message = "站点标识不能为空")
    private String appId;

    @Schema(description = "相册编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26398")
    @NotNull(message = "相册编号不能为空")
    private Long albumId;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @NotBlank(message = "照片不能为空")
    @Schema(description = "照片", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "序号不能为空")
    private Integer sort;

    @Schema(description = "点击量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "点击量不能为空")
    private Integer viewNum;

    @Schema(description = "点赞数量")
    private Long thumbsUpTimes;

}
